package com.example.workshop.lesson6;

import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;

@Component
@Qualifier("CF")
//@Primary
public class CollaborativeFilter implements Filter {
	public String[] getRecommendations(String movie) {
		//协作时过滤器的逻辑
		return new String[] {"Finding Nemo", "Ice Age", "Toy Story"};	
		
		
	}

}
